package com.chuangjiangx.member.basic.ddd.application.command;

import lombok.Getter;

/**
 * 修改手机号
 */
@Getter
public class ModifyMobileCommand {

    /**
     * 会员id
     */
    private Long memberId;
    /**
     * 手机号
     */
    private String mobile;

    /**
     * 商户id
     */
    private Long merchantId;

    /**
     * 修改门店id
     */
    private Long storeId;

    /**
     * 修改的服务员id
     */
    private Long storeUserId;

    /**
     * 修改的终端类型
     */
    private Byte terminalType;

    /**
     * 修改终端标识
     */
    private String terminalNum;

    /**
     * 商户注册用户id
     */
    private Long merchantUserId;

    public ModifyMobileCommand(Long memberId, String mobile,
                               Long merchantId, Long storeId, Long storeUserId,
                               Byte terminalType, String terminalNum, Long merchantUserId) {
        this.memberId = memberId;
        this.mobile = mobile;
        this.merchantId = merchantId;
        this.storeId = storeId;
        this.storeUserId = storeUserId;
        this.terminalType = terminalType;
        this.terminalNum = terminalNum;
        this.merchantUserId = merchantUserId;
    }

    public ModifyMobileCommand(Long memberId, String mobile, Long merchantId, Byte terminalType, Long merchantUserId) {
        this.memberId = memberId;
        this.mobile = mobile;
        this.merchantId = merchantId;
        this.terminalType = terminalType;
        this.merchantUserId = merchantUserId;
    }
}
